CardReadResult

data class CardReadResult(val uid: String? = null, val nfcData: String? = null, val identityData: EidData? = null, val status: CardReadStatus, val errorMessage: String? = null) : Parcelable

This holds the result of any card related action. This can be a read/write action.

Constructors

Link copied to clipboard
constructor(uid: String? = null, nfcData: String? = null, identityData: EidData? = null, status: CardReadStatus, errorMessage: String? = null)

Properties

Link copied to clipboard
val errorMessage: String? = null

If status is error, then a corresponding error message will be returned.

Link copied to clipboard
val identityData: EidData? = null

The identityData that is being read from the eid card.

Link copied to clipboard
val nfcData: String? = null

The retrieved data of the nfc card action.

Link copied to clipboard

the status of the card request. This will indicate if the result is successful or if it failed.

Link copied to clipboard
val uid: String? = null

The uid of the card corresponding to this card action. This is usually always available for all card actions unless the UID of the card could not be read.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)